
<form id="pagerForm" method="post" action="book/tag">
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="numPerPage" value="{{psize}}" />
	<input type="hidden" name="orderField" value="{{order_field}}" />
	<input type="hidden" name="platform_id" value="{{platform_id}}" />
	<input type="hidden" name="run_id" value="{{run_id}}" />
	<input type="hidden" name="plan_id" value="{{plan_id}}" />
	<input type="hidden" name="partner_id" value="{{partner_id}}" />
	<input type="hidden" name="version_name" value="{{version_name}}" />
	<input type="hidden" name="product_name" value="{{product_name}}" />
	<input type="hidden" name="order_field" value="{{order_field}}" />
	<input type="hidden" name="date" value="{{date}}" />
</form>

<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="book/tag" method="post">
    {% module BasicQueryCond(platform_id,run_id,plan_id,partner_id,version_name,product_name,run_list,plan_list,date) %}
    <div class="searchBar">
        <table class="searchContent">
            <tr>
            <td>提示：点击不同表头，可进行相应排序</td>
            <td colspan="7">字段计算规则：该标签下的所有书籍的汇总</td>
            </tr>
        </table>
	</form>
</div>

<div class="pageContent">
	<table class="table" width="100%" layoutH="108">
		<thead>
			<tr>
				<th align="center">标签名</th>
				<th align="center" orderField="fee">收益</th>
				<th align="center" orderField="pay_down">付费下载数</th>
				<th align="center" orderField="pay_user">付费下载用户数</th>
				<th align="center" orderField="free_down">免费下载数</th>
				<th align="center" orderField="free_user">免费下载用户数</th>
				<th align="center" orderField="pv">简介访问数</th>
				<th align="center" orderField="uv">简介访问人数</th>
			</tr>
		</thead>
		<tbody>		
            {% for i in tags %}
            <tr>
                <td>{{i['tag']}}</td><td>{{i.fee}}</td>
                <td>{{i.pay_down}}</td><td>{{i.pay_user}}</td>
                <td>{{i.free_down}}</td><td>{{i.free_user}}</td><td>{{i.pv}}</td><td>{{i.uv}}</td>
            </tr>
            {% end %}
		</tbody>
	</table>
    {% module Pagination(count,page,psize) %}
</div>

